package apis

import (
	"mallgo/internal/common/response"
	"mallgo/internal/resources/user/api/domain/request"
)

type UserApi interface {
	// Register 注册
	Register(req *request.RegisterRequest) *response.ResponseObject

	// Login 登录
	Login(req *request.LoginRequest) *response.ResponseObject
}

type handle func(request *interface{}) *response.ResponseObject
